package com.hdoit.apollo.logical.viewmodel.billing;

import java.util.Date;

import com.tennetcn.data.message.SearchModel;

public class BillingSearch extends SearchModel{

	private String searchKey;
	
	private String shopId;
	
	private int deleteMark;
	
	private String contractId;
	
	private String customerId;
	
	private String type;
	//all:查询所有订单，unfinished：开单未完成订单
	
	private Date startDate;
	
	private Date endDate;
	
	private String billingNo;
	
	private String createUserId;
	
	private String billingState;
	//对应billing里的billingState
	
	private String billingIdReturn;
	
	private String businessId;
	
	private String searchType;

	public String getSearchKey() {
		return searchKey;
	}

	public void setSearchKey(String searchKey) {
		this.searchKey = searchKey;
	}

	public String getShopId() {
		return shopId;
	}

	public void setShopId(String shopId) {
		this.shopId = shopId;
	}

	public int getDeleteMark() {
		return deleteMark;
	}

	public void setDeleteMark(int deleteMark) {
		this.deleteMark = deleteMark;
	}

	public String getContractId() {
		return contractId;
	}

	public void setContractId(String contractId) {
		this.contractId = contractId;
	}

	public String getCustomerId() {
		return customerId;
	}

	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public String getBillingNo() {
		return billingNo;
	}

	public void setBillingNo(String billingNo) {
		this.billingNo = billingNo;
	}

	public String getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(String createUserId) {
		this.createUserId = createUserId;
	}

	public String getBillingState() {
		return billingState;
	}

	public void setBillingState(String billingState) {
		this.billingState = billingState;
	}

	public String getBillingIdReturn() {
		return billingIdReturn;
	}

	public void setBillingIdReturn(String billingIdReturn) {
		this.billingIdReturn = billingIdReturn;
	}

	public BillingSearch(){
		this.deleteMark = 1;
		this.type="all";
	}

	public String getBusinessId() {
		return businessId;
	}

	public void setBusinessId(String businessId) {
		this.businessId = businessId;
	}

	public String getSearchType() {
		return searchType;
	}

	public void setSearchType(String searchType) {
		this.searchType = searchType;
	}
	
}
